var vm = new Vue({
    el: "#app",
    data: {
        src:'/page/file/file.html',
        menuInfo:[
            {index:'1',name:"主机管理",src:"/page/host/host.html"},
            {index:'5',name:"文件管理",src:"/page/file/file.html"},
            {index:'4',name:"分支管理",src:"/page/git/git.html"},
            {index:'3',name:"部署管理",src:"/page/deploy/deploy.html"},
            {index:'2',name:"项目管理",src:"/page/deploy/deploy.html"}],

    },
    mounted:function(){

    },
    created:function(){

    },
    methods: {
        handleOpen(key, keyPath) {
            console.log(key, keyPath);
        },
        handleClose(key, keyPath) {
            console.log(key, keyPath);
        },
        openMenu(menu){
            this.src = menu.src;
        }
    }
})